package API.Stream.Basic;

import java.util.Arrays;
import java.util.stream.Stream;

public class ArrayStream {
    public static void main(String[] args) {
        int[] arr = new int[]{1, 2, 3, 4, 5};
        Arrays.stream(arr).forEach(s -> System.out.print(s + " "));
    }
}
